package com.renjie.day01.homework;

public class Soldier {
    String soldierJob;
    String soldierName;
    String soldierSkill;

    public Soldier(String soldierJob, String soldierName, String soldierSkill) {
        this.soldierJob = soldierJob;
        this.soldierName = soldierName;
        this.soldierSkill = soldierSkill;
    }

    public void UseSkill() {
        System.out.println("技能介绍：" + this.soldierSkill);
    }
}
